package com.it.myh;

/**
 * @Description: // 类说明，在创建类时要填写
 * @ClassName: Od_0203_02    // 类名，会自动填充
 * @Author: MYH          // 创建者
 * @Date: 2023/2/3 17:55   // 时间
 * @Version: 1.0     // 版本
 */
public class Od_0203_02 {
    public static void main(String[] args) {

        StringBuilder sb = new StringBuilder("abc");
        sb.append(1);
        sb.append('1');
        sb.append("1");
        System.out.println(sb);
        sb.delete(3,7);
        System.out.println(sb);
        sb.replace(0,3,"123");
        System.out.println(sb);


        System.out.println("=============");
        int a = 10;
        a = 9;
        System.out.println(a);

    }
}
